package com.luobu.javaee.email;

public interface MailService {
    public void sendMail(Mail mail);

    public int generateCode(String email);

    public void removeExpiredCode();

    public boolean checkCode(String email, String code);
}